//
//  MREventCenter.h
//  McRemoteServer
//
//  Created by Magic on 12/18/11.
//  Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MRMessage.h"

@interface MREventCenter : NSObject

+ (MREventCenter *)sharedCenter;
- (void)postKeyboardEventWithKeyCode:(CGKeyCode)keyCode flags:(CGEventFlags)flags;
- (void)postKeyboardEventWithKeyCode:(CGKeyCode)keyCode 
                               flags:(CGEventFlags)flags 
                           annotated:(BOOL)annotated;
- (void)postKeyboardEventWithKeyCode:(CGKeyCode)keyCode;
//- (void)launchApplicationWithPath:(NSString *)path;
- (void)postMouseMoveEventWithOffset:(CGPoint)offset;
- (void)postLeftMouseTapEvent;
- (void)postRightMouseTapEvent;
- (void)postScrollWheelEventWithOffset:(CGPoint)offset;


- (void)setFinderWindowMode:(MRFinderMode)mode;

@end
